package com.ysd.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ysd.entity.OrderForm;
import com.ysd.entity.Product;
import com.ysd.entity.User;


public interface OrderFormService {

	List<OrderForm> findOrderForm(int uid);
	
	int delectOrderForm(OrderForm orderForm);
	
	int getTiJiao(OrderForm orderForm);
	
	List<OrderForm> getOrder(OrderForm of,Product product,User user);
	
	int getCount(OrderForm of,Product product,User user);
	
	List<OrderForm> faHuo(int uid);
	List<OrderForm> faHuo1(int uid);
	List<OrderForm> shouHuo(int uid);
	List<OrderForm> shouHuo1(int uid);
	int updateOrderForm(OrderForm of);
	
	
	
	List<OrderForm> shiFouFaHuo();
	List<OrderForm> shiFouShouHuo();
	int updateFaHuo(OrderForm orderform);
}
